package com.yungui.leaning.entity;

import java.util.HashMap;
import java.util.Map;

public class MapTest {
    public static void main(String[] args) {
        Map<TeacherInfo,ClassInfo> maps = new HashMap<>();
        maps.put(new TeacherInfo("王云1"),new ClassInfo("1班"));
        maps.put(new TeacherInfo("王云2"),new ClassInfo("2班"));
        maps.put(new TeacherInfo("王云3"),new ClassInfo("3班"));
        maps.put(new TeacherInfo("王云4"),new ClassInfo("4班"));
        maps.put(new TeacherInfo("王云5"),new ClassInfo("5班"));
        maps.put(new TeacherInfo("王云6"),new ClassInfo("6班"));
        maps.put(new TeacherInfo("王云7"),new ClassInfo("7班"));
        maps.put(new TeacherInfo("王云8"),new ClassInfo("8班"));
        maps.put(new TeacherInfo("王云9"),new ClassInfo("9班"));

        System.out.println(maps);
    }
}
